package com.haiyou.dc.ehcache;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

/**
 * http://localhost:3812/dc-ehcache/swagger-ui.html
 */
@EnableCaching
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.haiyou.dc.ehcache", "com.haiyou.common"})
public class DcEhcacheApplication {
    public static void main(String[] args) {
        SpringApplication.run(DcEhcacheApplication.class, args);
    }
}
